/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const systemRouter = {
  path: '/system',
  component: Layout,
  redirect: '/system/customer',
  name: 'System',
  meta: {
    title: '系统管理',
    icon: 'table'
  },
  
  children: [
    {
      path: 'customer',
      component: () => import('@/views/system/customer'),
      name: 'Customer',
      meta: {
        title: '用户管理'
      }
    },
    {
      path: 'monitor',
      component: () => import('@/views/system/monitor'),
      name: 'Monitor',
      meta: {
        title: '系统监控'
      }
    },
    {
      path: 'report',
      component: () => import('@/views/system/report'),
      name: 'Report',
      meta: {
        title: '配置管理'
      }
    }
  ]
}
export default systemRouter